-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump sanity/ui to version 2 in groqd-playground #283
Conversation
🦋 Changeset detectedLatest commit: a130574 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -1,2 +1,3 @@ | |||
strict-peer-dependencies=false | |||
prefer-workspace-packages=true | |||
auto-install-peers=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was already set in the lock file, likely due to someone having it set per-machine. Setting it here so it applies to all developers that run pnpm i
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-is": "^18.2.0", | ||
"sanity": "^3.15.0", | ||
"styled-components": "^5.3.9" | ||
"styled-components": "^5.2 || ^6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ (fix for issues with the latest Sanity version)
Bumps sanity ui to version 2 and supports multiple versions of styled-components.
There is a version mismatch in sanity packages where @sanity/ui requires styled-components@^6 and @sanity requires styled-components@^5. The features we use are compatible across both versions so we allow both as a peer dependency to resolve warnings when consumers install our playground package.